<?php
/*
 * mk script created on 10-mag-2005
 * jaco_at_pixeldump_dot_org
 * creating new swf file
 */

include("sample_utils.php");                    // provides some utils and using mk

$swf = new MKSwf();
$swf->set_swfDir(SERVER_MKTMP);
$swf->set_backgroundColor("#FF6600");
$swf->swf_output();
$swfHeader = $swf->fetch_assoc();

trace_array_assoc($swfHeader, "<strong>swfHeader</strong>");

$str = "<br />" .render_swf_box($swfHeader, $imgDir, false);
$str .= "<br/><strong>";
$str .= $swf->get_swfFileName() ." created in " .SERVER_MKTMP ."</strong>";

$content = trace_var($str, "", true, true, true);
echo show_content($content, basename(__FILE__));
?>
